package com.example.controller;/**
 * @Author kzc
 * @Date 2023/4/19 22:53 （可以根据需要修改）
 * @作用
 */

import com.example.domain.Users;
import com.example.tools.Result;
import com.wechat.pay.contrib.apache.httpclient.notification.Request;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @作用: business
 *
 * @说明:
 *
 * @author: kzc
 *
 * @日期: 2023-04-19 22:53
 **/

@RestController
@RequestMapping("/system/wx")
public class wxpay {

    @PostMapping("/test")
    public Result add(Request request)
    {
        byte[] message = request.getMessage();
        System.out.println(message.toString());
        return Result.ok();
    }
}
